//
//  QBBaseModel.m
//  QiuBai
//
//  Created by yaohongchao on 5/1/16.
//  Copyright © 2016 yaohongchao. All rights reserved.
//

#import "QBBaseModel.h"

@implementation Vote
MJExtensionCodingImplementation
@end


@implementation User
MJExtensionCodingImplementation
-(NSString*)headIconUrl{
    NSString *strUid = [NSString stringWithFormat:@"%ld",(long)self.uid];
    return [NSString stringWithFormat:@"http://pic.qiushibaike.com/system/avtnew/%@/%@/medium/%@",[strUid substringWithRange:NSMakeRange(0, 4)],strUid,self.icon];
}

@end
